/var/log/xrdp-sesman.log {
    # create 644 root root
    daily
    # compress
    # rotate 7
    missingok
    postrotate
        /bin/kill -HUP `cat  /var/run/xrdp-sesman.pid 2>/dev/null` 2> /dev/null || true
    endscript
}

